package com.ruoyi.depot.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库产品对象 tb_inbound_products
 * 
 * @author ruoyi
 * @date 2023-12-13
 */
public class InboundProducts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 入库产品id */
    private Long inboundProductsId;

    /** 关联入库id(tb_procured_storage) */
    @Excel(name = "关联入库id(tb_procured_storage)")
    private Long storageId;

    /** 关联产品表(tb_product) */
    @Excel(name = "关联产品表(tb_product)")
    private Long productId;

    /** 产品入库数量(良品) */
    @Excel(name = "产品入库数量(良品)")
    private Long tertullianProductsNumber;

    /** 产品入库数量(次品) */
    @Excel(name = "产品入库数量(次品)")
    private Long subProductsNumber;

    /** 产品入库金额(良品) */
    @Excel(name = "产品入库金额(良品)")
    private BigDecimal tertullianProductsAmount;

    /** 产品入库金额(次品) */
    @Excel(name = "产品入库金额(次品)")
    private BigDecimal subProductsAmount;

    /** 产品总金额 */
    @Excel(name = "产品总金额")
    private BigDecimal productsAmount;

    /** 删除状态 0存在1删除 */
    private String deleteStatus;

    /** 添加时间 */
    private Date addTime;

    private Long subProductId;

    private Long ordersId;

    public Long getOrdersId() {
        return ordersId;
    }

    public void setOrdersId(Long ordersId) {
        this.ordersId = ordersId;
    }

    public Long getSubProductId() {
        return subProductId;
    }

    public void setSubProductId(Long subProductId) {
        this.subProductId = subProductId;
    }

    public void setInboundProductsId(Long inboundProductsId)
    {
        this.inboundProductsId = inboundProductsId;
    }

    public Long getInboundProductsId() 
    {
        return inboundProductsId;
    }
    public void setStorageId(Long storageId) 
    {
        this.storageId = storageId;
    }

    public Long getStorageId() 
    {
        return storageId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setTertullianProductsNumber(Long tertullianProductsNumber) 
    {
        this.tertullianProductsNumber = tertullianProductsNumber;
    }

    public Long getTertullianProductsNumber() 
    {
        return tertullianProductsNumber;
    }
    public void setSubProductsNumber(Long subProductsNumber) 
    {
        this.subProductsNumber = subProductsNumber;
    }

    public Long getSubProductsNumber() 
    {
        return subProductsNumber;
    }
    public void setTertullianProductsAmount(BigDecimal tertullianProductsAmount) 
    {
        this.tertullianProductsAmount = tertullianProductsAmount;
    }

    public BigDecimal getTertullianProductsAmount() 
    {
        return tertullianProductsAmount;
    }
    public void setSubProductsAmount(BigDecimal subProductsAmount) 
    {
        this.subProductsAmount = subProductsAmount;
    }

    public BigDecimal getSubProductsAmount() 
    {
        return subProductsAmount;
    }
    public void setProductsAmount(BigDecimal productsAmount) 
    {
        this.productsAmount = productsAmount;
    }

    public BigDecimal getProductsAmount() 
    {
        return productsAmount;
    }
    public void setDeleteStatus(String deleteStatus) 
    {
        this.deleteStatus = deleteStatus;
    }

    public String getDeleteStatus() 
    {
        return deleteStatus;
    }
    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("inboundProductsId", getInboundProductsId())
            .append("storageId", getStorageId())
            .append("productId", getProductId())
            .append("tertullianProductsNumber", getTertullianProductsNumber())
            .append("subProductsNumber", getSubProductsNumber())
            .append("tertullianProductsAmount", getTertullianProductsAmount())
            .append("subProductsAmount", getSubProductsAmount())
            .append("productsAmount", getProductsAmount())
            .append("deleteStatus", getDeleteStatus())
            .append("addTime", getAddTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
